package com.gugee.ins.common.constant;

/**
 * 任务类型枚举
 * @author Huangxin
 */
public enum InsRankTaskTypeCodeEnum {
    /**
     *
     */
    DEFAULT(0,"默认"),
    ST_CFS(101,"更新同分类同量级估值"),
    ST_CFS_AVG(102,"更新同分类同量级平均值"),
    ST_CFS_AD_AVG(103,"更新同分类同量级广告帖子相关项平均值");


    /**
     * 返回码
     */
    int code;
    /**
     * 解释
     */
    String desc;

    InsRankTaskTypeCodeEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取编码
     * @return
     */
    public int getCode() {
        return code;
    }

    /**
     * 获取描述
     * @return
     */
    public String getDesc() {
        return desc;
    }
}
